package vip.web3.api.form.user;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import vip.web3.common.dto.BaseForm;

import javax.validation.constraints.NotBlank;

/**
 * aut-horlilei
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RegisterForm extends BaseForm {

    private static final long serialVersionUID = 1L;


    @NotBlank(message = "手机不能空")
    private String mobile;

    @NotBlank(message = "登录密码不能空")
    private String password;

    @NotBlank(message = "登录确认密码不能空")
    private String confirmPassword;

    @NotBlank(message = "资金密码不能空")
    private String fundPassword;

    @NotBlank(message = "资金确认密码不能空")
    private String confirmFundPassword;

    @NotBlank(message = "邀请码不能空")
    private String inviteCode;


}
